import { Route } from 'react-keeper'
const PageAddevaluate = require('./subpages/addevaluate');
const PageEvaluateDetail = require('./subpages/evaluatedetail');
const PageHome = {
    page: require('./PageHome'),
    route: () => {
        return (<div>
            <Route index path='/home' component={Home} />
        </div>)
    }

}
const Home = () => {
    return (
        <div>
            <Route index component={PageHome.page} />
            <Route name="添加评价/修改评价" path="/addevaluate(/:origin)" component={PageAddevaluate} /> 
            <Route name="评价详情" path="/evaluatedetail" component={PageEvaluateDetail} />     
        </div>)
}

export default PageHome;
